package cn.ckx.coding.moudle.system.entity;

import cn.ckx.coding.common.dto.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author kunxin.cai
 * @className SystemGroup
 * @description 系统组
 * @date 2023/4/12
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("system_group")
public class SystemGroup extends BaseEntity {

    /**
     *    `name` VARCHAR(32) NOT NULL COMMENT '组名称',
     * 	`sign` VARCHAR(32) NULL DEFAULT NULL COMMENT '组标识',
     *    `inherit_type`  BIGINT(2) NOT NULL COMMENT '继承类型，0：不继承，1：单继承，2：多继承',
     * 	`inherit_id`  BIGINT(11) NOT NULL COMMENT '继承组ID',
     *    `inherit_name`  BIGINT(11) NOT NULL COMMENT '继承组名称',
     */

    private String name;

    private String sign;

    private String inheritType;

    private String inheritId;

    private String inheritName;

    @TableLogic
    private int enabledFlag;

}
